package com.sheng.mapper;

import com.sheng.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 王胜
 * @since 2022-11-21 17:16
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     * 根据用户account查询菜单列表
     * @param account
     * @return
     */
    List<Menu> getMenusByAccount(String account);
}
